<template>
  <div>
    <div>
    </div>
    <Form ref="form" :rules="formValidate" :label-width="90" :model="form">
          <FormItem label="工单类型 1 " prop="type">
            <Input type="number" v-model.number="form.type" />
          </FormItem>
          <FormItem label="no" prop="no">
            <Input v-model="form.no" />
          </FormItem>
          <FormItem label="工单名称" prop="title">
            <Input v-model="form.title" />
          </FormItem>
          <FormItem label="工单提交者" prop="fromUid">
            <Input type="number" v-model.number="form.fromUid" />
          </FormItem>
          <FormItem label="from_openid" prop="fromOpenid">
            <Input v-model="form.fromOpenid" />
          </FormItem>
          <FormItem label="to_uid" prop="toUid">
            <Input type="number" v-model.number="form.toUid" />
          </FormItem>
          <FormItem label="to_openid" prop="toOpenid">
            <Input v-model="form.toOpenid" />
          </FormItem>
          <FormItem label="部门id" prop="departmentId">
            <Input type="number" v-model.number="form.departmentId" />
          </FormItem>
          <FormItem label="联系人电话" prop="mobile">
            <Input v-model="form.mobile" />
          </FormItem>
          <FormItem label="问题描述" prop="problemDetails">
            <Input v-model="form.problemDetails" />
          </FormItem>
          <FormItem label="图片" prop="pics">
            <Input v-model="form.pics" />
          </FormItem>
          <FormItem label="工单状态 0 初始 1 已接受  2 已完成" prop="statue">
            <Input type="number" v-model.number="form.statue" />
          </FormItem>
    </Form>
    <Row class="code-row-bg" justify="end" type="flex">
      <Button @click="cancel" style="margin-right:10px">取消</Button>
      <Button @click="save" type="primary">保存</Button>
    </Row>
  </div>
</template>
<script>
  import { ordersApi } from '@/api/work-orders';
  export default {
    name: 'OrdersListShow',
    components: {
    },
    props: {
      //更新的表单数据对象
      data: {
        type: Object
      }
    },
    data() {
      return {
        
      };
    },
    created() {},
    mounted() {},
    methods: {
    
    }
  };
</script>